class Employee:
    '所有员工的基类'
    empCount = 0

    def __init__(self,name):
        self.name = name
        Employee.empCount += 1

    def displayCount(self):
        #引用需要写%
        print("Total Employee %d"% Employee.empCount)

    def displayEmployee(self):
        print("name:",self.name)


emp1 = Employee("Zara")
emp1.displayCount()
emp1.displayEmployee()
print(Employee.empCount)